# -*- coding: utf-8 -*-
# @File     : validators.py
# @Author   : bingjia
# @Time     : 2020/8/11 10:31
# @Desc     :

from operation.base.api import serializers


class InfoValidator(serializers.Serializer):
    """
    信息验证
    """
    content = serializers.CharField()
    type = serializers.CharField(max_length=16)
    title = serializers.CharField(max_length=128)
    attachment = serializers.CharField(max_length=64, required=False)






